<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<base href="${basePath}">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>职位界面</title>
<link href="semantic/semantic.css" rel="stylesheet" type="text/css">
<link href="static/css/teacher.css" rel="stylesheet" type="text/css">
<link href="static/css/main.css" rel="stylesheet" type="text/css">
<script src="static/js/jquery-1.12.4.js" type="text/javascript"></script>
<script src="semantic/semantic.js" type="text/javascript"></script>
<script type="text/javascript">
	$(function() {
		$('.dropdown')
		  .dropdown({
		    // 你可以使用任何过渡
		    transition: 'drop'
		  })
		;
	});
</script>
</head>
<body>
	<div class="ui top fixed menu" style="background-color: #f5f5f5;">

		<div class="left menu">
			<h4 style="margin-top: 10px;margin-left: 20px;margin-right: 7px">韬睿科技人事管理平台</h4>
		</div>
		<div class="right menu">
			<a class="ui item">注销</a>
		</div>
	</div>
	<div class="ui left fixed vertical menu teacher-left-menu">
	   <div class="ui dropdown item">
    <i class="dropdown icon" class="item active"></i>
   		部门人事管理
    <div class="menu">
      <a class="item" href = "dept/manager"><i class="edit icon"></i> 部门管理</a>
      <a class="item" href = "staff?method=selectby"><i class="globe icon"></i> 员工管理</a>
      <a class="item" href = "job"><i class="settings icon"></i>职位管理</a>
    </div>
  </div>
     <div class="ui dropdown item">
    <i class="dropdown icon" class="item active"></i>
   		客户资源管理
    <div class="menu">
      <a class="item" href = "student?method=selectby"><i class="edit icon"></i> 学生信息</a>
      <a class="item" href = "allot/manager"><i class="globe icon"></i> 分配学生</a>
     <a class="item" href = "follow/read"><i class="globe icon"></i> 批阅管理</a>
      <a class="item" href = "source"><i class="settings icon"></i>完善来源</a>
      <a class="item" href = "interesting"><i class="settings icon"></i>完善兴趣</a>
    </div>
  </div>
     <div class="ui dropdown item">
    <i class="dropdown icon" class="item active"></i>
   		学员管理
    <div class="menu">
       <a class="item" href="total"><i class="edit icon"></i> 收款管理</a>
      <a class="item" href="group?method=select"><i class="globe icon"></i> 分班管理</a>
         <a class="item" href="student?method=selectgroup"><i class="globe icon"></i>毕业管理</a>
      <a class="item" href="office/manager"><i class="globe icon"></i> 入职管理</a>
      <a class="item" href="callback/manager"><i class="globe icon"></i> 回访管理</a>
  </div>
  </div>
	</div>
		<div id="ssss">欢迎您<span id="staffname">${names}</span></div>
		<div id="stustaff">

		<table style="width:300px;"	class="table table-border table-bordered table-bg table-hover table-sort">
			<tr>
				<th colspan="${size1 }" id="tou">分配学生</th>
			</tr>
			<tr >
				<c:if test="${empty allotstu }">
				<th>无分配学生</th>
			</c:if>
			<c:if test="${not empty allotstu }">
			<c:forEach items="${allotstu }" var="allot">
				<th ><a href="allot/one?stuid=${allot.studentId}&clazzname=
			${allot.clazzname}&staffname=${allot.staffName}&total_student_id=${allot.total_student_id}">${allot.studentName}</a></th>
			</c:forEach>
			
			</c:if>
			</tr>
		
		</table>
		<table  style="width:300px;"	class="table table-border table-bordered table-bg table-hover table-sort">
			<tr>
				<th colspan="${size2 }" id="tou">协助学生</th>
			</tr>
			<tr>
				
			<c:if test="${empty coostu }">
			<th colspan="${size1 }">无协助学生</th>
			</c:if>
			<c:if test="${not empty coostu }">
			<c:forEach items="${coostu }" var="coo">
				<th><a href="allot/one?stuid=${coo.studentId}&clazzname=
			${coo.clazzname}&staffname=${coo.staffName}&total_student_id=${coo.total_student_id}">${coo.studentName}</a></th>
			
			</c:forEach>
			</c:if>
			</tr>
		</table>
				<table  style="width:300px;"	class="table table-border table-bordered table-bg table-hover table-sort">
			<tr>
				<th colspan="2" id="tou">跟进成功人数</th>
			</tr>
			<tr>
			<th>本月成功人数</th>
				<c:if test="${countbenyue==0}">
					<th>加油哟，还没成功人数！</th>
				</c:if>
				<c:if test="${countbenyue!=0}">
				<th>${countbenyue }</th>
				</c:if>
			</tr>
				<tr>
			<th>总成功人数</th>
				<c:if test="${countzong==0}">
				<th>加油哟，还没成功人数！</th>
				</c:if>
				<c:if test="${countzong!=0}">
				<th>${countzong }</th>
				</c:if>
			</tr>
		</table>
				<table  style="width:300px;"	class="table table-border table-bordered table-bg table-hover table-sort">
			<tr>
				<th colspan="2" id="tou">协助成功人数</th>
			</tr>
			<tr>
			<th>本月成功人数</th>
				<c:if test="${countcoobenyue==0}">
				<th>加油哟，还没成功人数！</th>
				</c:if>
				<c:if test="${countcoobenyue!=0}<">
				<th>${countcoobenyue }</th>
				</c:if>
			</tr>
				<tr>
			<th>总成功人数</th>
				<c:if test="${countcoozong==0}">
				<th>加油哟，还没成功人数！</th>
				</c:if>
				<c:if test="${countcoozong!=0}">
				<th>${countcoozong }</th>
				</c:if>
			</tr>
		</table>
	</div>
</body>
</html>